package com.neusoft.neu24.his.hisapp.service.impl;

import com.neusoft.neu24.his.hisapp.dao.IMemberDao;
import com.neusoft.neu24.his.hisapp.dao.impl.MemberDaoImpl;
import com.neusoft.neu24.his.hisapp.entity.Member;
import com.neusoft.neu24.his.hisapp.service.IMemberService;

import java.util.List;

public class MemberService  implements IMemberService {
    private IMemberDao memberDao =new MemberDaoImpl();




    @Override
    public Member login(String logid, String password) {
        return memberDao.login(logid,password);
    }

    @Override
    public List<Member> selectAll() {
        return memberDao.selectAll();
    }
}
